g_output_stream_splice: check correctly the error code
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 24 Apr 2015 10:37:49 +0000 (12:37 +0200)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 24 Apr 2015 16:26:22 +0000 (18:26 +0200)
commitcf30f8717a4ea56b79f4d382e3642779f104b24e
tree3a51e6e0c7f8cb112379fcb7a716d4cff1411383
parent8ab2e60edcb0d7b32d3d2f7892914951acbb4fe7
g_output_stream_splice: check correctly the error code

While at it, change the style of other two occurrences.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-repo-static-delta-compilation.c
src/libostree/ostree-repo-static-delta-processing.c
src/ostree/ot-builtin-cat.c